package com.xnyzc.lhy.mis.entity.result.office;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Description
 * @Author wangshuo
 * @Date 2019/8/12 11:10
 **/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ResultOffice对象", description="出参机构")
public class ResultOffice implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "编号")
    private Long officeId;

    @ApiModelProperty(value = "父级编号")
    private String parentId;

    @ApiModelProperty(value = "所有父级编号")
    private String parentIds;

    @ApiModelProperty(value = "上级机构名称")
    private String parentName;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "归属区域")
    private String areaId;

    @ApiModelProperty(value = "归属区域")
    private String parentAreaId;

    @ApiModelProperty(value = "区域编码")
    private String code;

    @ApiModelProperty(value = "归属区域名称")
    private String areaName;

    @ApiModelProperty(value = "机构类型")
    private String type;

    @ApiModelProperty(value = "机构等级")
    private String grade;

    @ApiModelProperty(value = "联系地址")
    private String address;

    @ApiModelProperty(value = "负责人")
    private String master;

    @ApiModelProperty(value = "电话")
    private String phone;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "是否启用")
    private String useable;

    @ApiModelProperty(value = "主负责人")
    private String primaryPerson;

    @ApiModelProperty(value = "副负责人")
    private String deputyPerson;

    @ApiModelProperty(value = "主负责人展示")
    private String primaryPersonName;

    @ApiModelProperty(value = "主负责人展示")
    private String deputyPersonName;

    @ApiModelProperty(value = "创建日期")
    private String createTime;

    @ApiModelProperty(value = "排序")
    private BigDecimal sort;
}
